package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.TrainAuditTeacherSet;
import com.xmy.cultivate.mapper.TrainAuditTeacherSetMapper;
import com.xmy.cultivate.service.ITrainAuditTeacherSetService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 审核老师设置 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-07-01
 */
@Service
public class TrainAuditTeacherSetServiceImpl extends ServiceImpl<TrainAuditTeacherSetMapper, TrainAuditTeacherSet> implements ITrainAuditTeacherSetService {

    @Autowired
    TrainAuditTeacherSetMapper trainAuditTeacherSetMapper;

    @Override
    public IPage<TrainAuditTeacherSet> findAll(IPage<TrainAuditTeacherSet> page,
                                               String yearPart, String quarterNum,
                                               Long departmentId,
                                               Integer type,
                                               String name,
                                               Integer subType
    ) {
        return trainAuditTeacherSetMapper.findAll(page, yearPart, quarterNum, departmentId, type, name, subType);
    }

}
